package com.stone.starter.core.concurrent.aware;

import java.util.concurrent.Callable;

/**
 * callable aware
 *
 * @author Mr_wenpan@163.com 2021/7/18 11:32 下午
 */
public abstract class BaseAwareCallable<T> implements Callable<T> {


    @Override
    public T call() throws Exception {
        return performActualWork();
    }

    protected abstract T performActualWork();
}